import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import DatePicker from '@/views/iosPicker/DatePicker'
import VueCount from '@/views/vueCount/VueCount'
import VueToast from '@/views/vueToast/VueToast'
import VueJitter from '@/views/vueJitter/VueJitter'
import VueSelfTrie from '@/views/vueTrie/VueSelfTrie'
import VueEditDistance from '@/views/editDistance/VueEditDistance'


Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/DatePicker',
      name: 'DatePicker',
      component: DatePicker
    },
    {
      path: '/VueCount',
      name: 'VueCount',
      component: VueCount
    },
    {
      path: '/VueToast',
      name: 'VueToast',
      component: VueToast
    },
    {
      path: '/VueJitter',
      name: 'VueJitter',
      component: VueJitter
    },
    {
      path: '/VueSelfTrie',
      name: 'VueSelfTrie',
      component: VueSelfTrie
    },
    {
      path: '/VueEditDistance',
      name: 'VueEditDistance',
      component: VueEditDistance
    }
  ]
})
